package com.agriculture.data_demo.entity.sys;

import com.agriculture.data_demo.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * @author morningbear
 * @date 20.10.6
 */
@Slf4j
@Data
@Accessors(chain = true)
@Entity
@Table(name = "pig_env")
public class PigEnvEntity extends BaseEntity {

    @Column(name = "temp")
    private Double temperature;

    @Column(name = "hum")
    private Double humid;

    @Column(name = "co2")
    private Double co2;

    @Column(name = "nh3")
    private Double nh3;
}
